Formalizing Software Refactoring in the Distributed Environment by aedNLC Graph Grammar

نویسندگان

  • Leszek Kotulski
  • Adrian Nowak
چکیده

Being a commonly used technique to enrich the software structure, refactoring – as well as any software changes performed every day – still lacks a good formal definition. Especially in the distributed environment there is a great need for a better mechanism allowing to avoid conflicts and properly merge the changes introduced by different developers. In this paper we continue our project of a core of distributed environment based on graph repository, which helped us to defeat and significantly decrease problems of refactoring conflicts. We focus on technical aspects of the environment and present precise description of the refactorings with the help of aedNLC graph grammar and graph transformation mechanisms. We also discuss some other properties of the graph repository including its abilities to store dynamic software description. Presented approach is based on UML notation, however it could be easily extended for any object-oriented language. The graph repository concept alone could lead to a model of a modern integrated software development environment.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Nested Software Structure generated by aedNLC graph grammar – technical report

The use of the UML notation for software specification leads usually to lots of diagrams showing different aspects and components of the software system in a several view. In [24] it was shown that a hierarchical composition of primitive components can be described by graphs. This paper shows that edNLC class of grammar has enough descriptive power to maintain and visuale of the UML package’s n...

متن کامل

Formalizing refactorings with graph transformations

The widespread interest in refactoring —transforming the source-code of an objectoriented program without changing its external behaviour— has increased the need for a precise definition of refactoring transformations and their properties. In this paper we explore the use of graph rewriting for specifying refactorings and their effect on programs. We introduce a graph representation for program...

متن کامل

Supporting the Automatic Generation of Advanced Modelling Environments with Graph Transformation Techniques

In this paper we show our approach to the automatic generation of modelling environments for Visual Languages (VLs) supporting multiple views. The approach is based on the metamodelling tool AToM. Starting from a metamodel description of the VL and its views, a customized modelling environment is generated. Consistency between views is supported by the automatic generation of triple graph gramm...

متن کامل

Coordinated Distributed Diagram Transformation for Software Evolution

We present an approach to maintaining consistency between code and specification during refactoring, where a specification comprises several UML diagrams of different types. Code is represented as a flowgraph, and the flowgraph and UML diagrams constitute different views of a software system. A refactoring is modelled as a set of distributed graph transformations, organized into transformation ...

متن کامل

Role of Patterns in Automated Task-Driven Grammar Refactoring

Grammarware engineering, and grammar-dependent software development has received considerable attention in recent years. Despite of this fact, grammar refactoring as a significant cornerstone of grammarware engineering is still weakly understood and little practiced. In this paper, we address this issue by proposing universal algorithm for automated refactoring of context-free grammars called m...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2006